package homework09;

public class Student1 {
	private String name;
	private String gender;
	private int age;
	private int number;
	public String getName() {
		return name;
	}
	public int getNumber() {
		return number;
	}
	public void setNumber(int number) {
		this.number = number;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getGender() {
		return gender;
	}
	public void setGender(String gender) {
		this.gender = gender;
	}
	public int getAge() {
		return age;
	}
	public void setAge(int age) {
		this.age = age;
	}
	@Override
	public String toString() {
		return name+"-"+gender+"-"+age;
	}
	public Student1(String name, String gender, int age) {
		super();
		this.name = name;
		this.gender = gender;
		this.age = age;
	}
	public Student1(String name, String gender, int age,int number) {
		super();
		this.name = name;
		this.gender = gender;
		this.age = age;
		this.number = number;
	}
	public Student1() {
	}
	
}
